<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Realuser/index')}">注册用户</a></li>
			<li><a href="{:U('Realuser/prizelist')}">中奖用户</a></li>
			<li class="active"><a>用户详情</a></li>
		</ul>
			<table class="table table-hover table-bordered">
				<tbody>
					<tr>
						<th width="100">ID</th>
						<td>{$user.id}</td>
					</tr>
					<tr>
						<th>用户名</th>
						<td>{$user.username}</td>
					</tr>
					<tr>
						<th>昵称</th>
						<td>{$user.nickname}</td>
					</tr>
					<tr>
						<th>姓名</th>
						<td>{$user.realname}</td>
					</tr>
					<tr>
						<th>性别</th>
						<td>{$gender[$user['gender']]['name']}</td>
					</tr>
					<tr>
						<th>电话</th>
						<td>{$user.phone}</td>
					</tr>
					<tr>
						<th>邮箱</th>
						<td>{$user.email}</td>
					</tr>
					<tr>
						<th>地址</th>
						<td>{$user.address}</td>
					</tr>
					<tr>
						<th>状态</th>
						<td>{$status[$user['status']-1]['name']}</td>
					</tr>
					<tr>
						<th>来源</th>
						<td>{$register_from[$user['register_from']-1]['name']}</td>
					</tr>
					<tr>
						<th>注册时间</th>
						<td>{$user.created_at}</td>
					</tr>
					<tr>
						<th>更新时间</th>
						<td>{$user.updated_at}</td>
					</tr>
					<tr>
						<th>登录时间</th>
						<td>{$user.last_login}</td>
					</tr>
					<tr>
						<th>登录IP</th>
						<td>{$user.last_login_ip}</td>
					</tr>
					<tr>
						<th>微信ID</th>
						<td>{$user.weixin_id}</td>
					</tr>
					<tr>
						<th>微信Token</th>
						<td>{$user.weixin_token}</td>
					</tr>
					<tr>
						<th>微博ID</th>
						<td>{$user.weibo_id}</td>
					</tr>
					<tr>
						<th>微博Token</th>
						<td>{$user.weibo_token}</td>
					</tr>
					<tr>
						<th>中奖次数</th>
						<td><a href="{:U('Realuser/prizes',array('id'=>$user['id']))}">（{$prizesorder}）点击查看</a></td>
					</tr>
					<tr>
						<th>提现次数</th>
						<td><a href="{:U('Realuser/wxpay',array('id'=>$user['id']))}">（{$wxpayorder}）点击查看</a></td>
					</tr>
					<tr>
						<th>积分数量</th>
						<td>{$userwallet.money}</td>
					</tr>
				</tbody>
			</table>
            <div class="form-actions">
                <a class="btn" href="{:U('Realuser/index')}">返回</a>
            </div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
